<link href="../core/resource/css/pc.css?v=20190513" rel="stylesheet">
<style type="text/css">
.container-index {
    max-width: 1210px;
    margin: 0 auto;
    padding: 0!important;
}
.register-container{
	width:100%;
	height: 100%;
	position: absolute;
}
</style>
<div class="register-container container" style="min-height:100%;background:url('../core/resource/images/bg-login.png') no-repeat #18bc9c;">
    <div class="container-index">
        <div class="register" style="margin:180px auto">
			<div ng-if="pagedata.item.logo" style="width:100%;text-align:center">
				<img style="margin:10px auto;width:120px" ng-src="{{tomedia(pagedata.item.logo)}}" border="0">
			</div>
			<div class="forminfo" ng-if="pagedata.wxauth!=1">
            <form action="" method="post" role="form" id="form1">
				<div class="form-group fui-tab" style="margin-bottom:22px">
					<a class="{{pagedata.login_type!=1?'active':''}}" ng-click="pagedata.login_type=0">一键登录</a>
					<a class="{{pagedata.login_type==1?'active':''}}" ng-click="pagedata.login_type=1">账号登陆</a>
				</div>
				<div ng-if="pagedata.login_type==1">
					<div class="form-group">
						<div class="log-form-item">
							<input type="text" ng-model="pagedata.info.username" placeholder="输入您的账号" class="form-control log-input">
							<i class="icon icon-wo1"></i>
						</div>
					</div>
					<div class="form-group">
						<div class="log-form-item">
							<input type="password" ng-model="pagedata.info.password" placeholder="输入您的密码" class="form-control log-input">
							<i class="icon icon-mima"></i>
						</div>	
					</div>
				</div>
				<div ng-if="pagedata.login_type!=1">
					<div class="weui_cells_title" style="font-size:0.7rem;margin-top:0;color:#333">
						<i class="icon icon-weixin1" style="font-size:0.7rem;color:#07c160"></i> <span> {{pagedata.account.js_support}} 申请使用</span>
					</div>
					<div class="weui_cells_title" style="font-size:0.7rem;margin:1rem 0;color:#999">为了更好的体验服务</div>
					<div style="text-align:center;color:#999">点击下面按钮，一键登录！</div>
				</div>
				<div class="form-group">
					<div ng-if="pagedata.login_type==1" id="submit" style="text-align:center;" ng-click="post(pagedata.info,'post');" class="login-btn">登录平台</div>
					<div ng-if="pagedata.login_type!=1" style="text-align:center;" ng-click="access_json(pagedata.wwopen)" class="login-btn">企业微信一键登录</div>
				</div>
            </form>
			</div>
        </div>
    </div>
</div>
